package com.example.port.service;

import com.example.port.entity.StorageRecord;

import java.util.List;

public interface StorageRecordService {
    
    int insertStorageRecord(StorageRecord record);
    
    List<StorageRecord> getAllStorageRecords();
    
    StorageRecord getStorageRecordById(Long recordId);
    
    int updateStorageRecord(StorageRecord record);
    
    int deleteStorageRecord(Long recordId);
    
    List<StorageRecord> getStorageRecordsByCargoId(Integer cargoId);
    
    int deleteStorageRecordsByCargoId(Integer cargoId);
} 
